<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>职位管理</title>
    <link rel="stylesheet" href="assets/css/layui.css">
    <link rel="stylesheet" href="assets/css/view.css"/>
    <link rel="stylesheet" href="assets/css/admin.css"/>
    <link rel="stylesheet" href="assets/css/style.css"/>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
    <style type="text/css">
        .layui-elem-quote{ font-size: 18px; margin-bottom: 20px;}
        .layui-input-block img{ max-height: 160px; width: auto;}
    </style>

    <script>
        $(function(){
            var id = ${sessionScope.pageUser.id};
            $.get("ManagerServlet?param=managerInfo&id="+id,function (josn){
                var data = eval('('+josn+')');
                $("#managerId").html(data.mId);
                $("#managerName").html(data.mName);
                $("#managerSex").html(data.mSex);
                $("#managerEnrollYear").html(data.mEnrollYear);
            })
        });
    </script>

</head>
    <body class="layui-view-body">
    <div class="layui-content">
        <!--面包屑导航-->
        <div class="mianb">
            <div class="mblf layui-col-xs6 layui-col-md6">
                <i class="layui-icon">&#xe656;</i>
                <p>个人信息管理 ><span>查看个人信息</span></p>
            </div>
        </div>
        <!--面包屑导航-->
        <blockquote class="layui-elem-quote">
            个人信息管理
        </blockquote>
        <!--岗位标题-->
        <div class="layui-row">
            <div class="layui-card positionbox">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>个人信息</legend>
                </fieldset>
                <form class="layui-form" action="">
                    <div class="layui-form-item">
                        <label class="layui-form-label"><span class="col-red">*</span>工作编号</label>
                        <div class="layui-input-block" id="managerId">
                            ${requestScope.manager.mId}
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">姓名</label>
                        <div class="layui-input-inline" id="managerName">
                            ${requestScope.manager.mName}
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">性别</label>
                        <div class="layui-input-block" id="managerSex">
                            ${requestScope.manager.mSex}
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">入职年份</label>
                        <div class="layui-input-inline" id="managerEnrollYear">
                            ${requestScope.manager.mEnrollYear}年
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">个人描述</label>
                        <div class="layui-input-block">
                            1.有爱心，有耐心，具有良好的思想皮质，善于与人沟通，善于与人合作，能够独立完成工作</br>
                            2.思想开放，工作热情高，易于接受新事物，有吃苦耐劳的精神，对工作认真负责。</br>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script src="assets/layui.all.js"></script>
    <script>
        layui.use('form', function(){
            var form = layui.form;
            form.render();
        });
    </script>
    </body>
</html>